//
//  ICMessageVController.h
//  ICome
//
//  Created by Administrator on 2016/10/25.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICBaseViewController.h"
#import "ICPullComboBoxView.h"
#import "ICGroupSearchController.h"
#import "ICShareViewController.h"
#import "ICTitleLoadingView.h"
#import "ICMessageModel.h"

@interface ICMessageVController : ICBaseViewController

@property (nonatomic , weak)UITableView * tableView;

/** 数据源 */

@property (nonatomic , strong)ICPullComboBoxView * boxView;
@property (nonatomic , strong)ICTitleLoadingView * loading;
@property (nonatomic , strong)ICBaseSearchViewController *searchController;
@property (nonatomic , strong)NSMutableArray * dataArray;
@property (nonatomic, assign)NSInteger  lastmessage;
@property (nonatomic, strong)ICEmptyStyleView *emptyView;

// 刷新数据源
- (void)reloadDataSource;

- (void)deleteLocalGroup:(NSIndexPath *)indexPath;

- (void)setTopCellWithIndexPath:(NSIndexPath *)indexPath currentTop:(BOOL)isTop;
// 标记已读
- (void)markerReadWithIndexPath:(NSIndexPath *)indexPath currentUnReadCount:(int)unReadCount;

- (void)searchResultWithText:(NSString *)text;

-(void)reloadUnread;

- (void)isRedCircleAppear;

-(void)sync;
@end
